<template>
  <div>
   
  </div>
</template>

<script>

export default {
  name: "Markdown",
  props: {
    /* 编辑器的内容 */
    value: {
      type: String,
      default: "",
    },
    
  },
  data() {
    return {
      currentValue: "",
    };
  },
  computed: {
    
  },
  watch: {
    value: {
      handler(val) {
        if (val !== this.currentValue) {
          this.currentValue = val === null ? "" : val;
        }
      },
      immediate: true,
    },
  },
  mounted() {
    this.init();
  },
  methods: {
    init() {
     
    },
 
     
  },
};
</script>

<style>
</style>
